package cn.lxh.ymcc.dto;

import cn.lxh.ymcc.domain.Course;
import cn.lxh.ymcc.domain.CourseDetail;
import cn.lxh.ymcc.domain.CourseMarket;
import cn.lxh.ymcc.domain.CourseResource;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

@Data
public class CourseAddDto {
    @Valid
      private Course course;
    @Valid
      private CourseDetail courseDetail;
    @Valid
      private CourseMarket courseMarket;
    @Valid
      private CourseResource courseResource;
      private List<Long> teacharIds;

}
